package cn.iocoder.yudao.module.engine.service.boot;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;

@Configuration
public class TelChatBotConfig {

    @Bean
    @ConditionalOnProperty(name = "chatbot.tel.enabled", havingValue = "true")
    public TelChatBot chatBot() {
        return new TelChatBot();
    }

}
